package com.addplus.townmall.server.api.model.town;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.addplus.townmall.server.api.model.base.BaseRestModel;
import com.baomidou.mybatisplus.annotation.TableField;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商城折扣专区
 * </p>
 *
 * @author zhangjiehang
 * @since 2018-08-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("shop_discount_zone")
public class ShopDiscountZone extends BaseRestModel {

    private static final long serialVersionUID = 1L;

    /**
     * 商城店铺主键id
     */
    @TableField("store_id")
    private Integer storeId;
    /**
     * 商品商品主键id
     */
    @TableField("shop_product_id")
    private Integer shopProductId;
    /**
     * 商品sku主键id
     */
    @TableField("shop_sku_id")
    private Integer shopSkuId;
    /**
     * 商城商品名称
     */
    @TableField("shop_name")
    private String shopName;
    /**
     * 商城商品描述
     */
    @TableField("shop_describe")
    private String shopDescribe;
    /**
     * 商城商品图片路径
     */
    @TableField("shop_seal_img")
    private String shopSealImg;
    /**
     * 商品划线价
     */
    private BigDecimal linePrice;
    /**
     * 商品销售价格
     */
    private BigDecimal salePrice;
    /**
     * 商品折扣比例
     */
    @TableField("discount_rate")
    private BigDecimal discountRate;
    /**
     * 限制购买数量
     */
    private Integer limitCount;
    /**
     * 是否删除(0:否 1:是)
     */
    @TableField("is_delete")
    private Integer isDelete;

    /**
     * 排序(数字越小越在前)
     */
    private Integer sort;

    /**
     * 上架状态(0:下架 1:上架)
     */
    private Integer onlineStatus;


}
